﻿#pragma once

void  InitLeiDian();

//获取模拟器路径
CString GetSimulatorPath();

//打开模拟器
BOOL OpenSimulator(int index);

//关闭单个模拟器
void CloseSingleSimulator(int index);

//关闭单个应用
void CloseSingleApp(int index);

//关闭所有模拟器
void CloseAllSimulator();

//重启单个模拟器
void RebootSingleSimulator(int index);

//清理应用信息
void ClearSingleAppInfo(int index);

//关闭浏览器
void CloseBrowser(int iIndex);

//dn_获取进程ID
void Dn_GetProcessID(int iIndex);

//降低CPU
void DownCpu(int index, int iRate);

//adb shell input text 字符串(不支持中文)
void InputStr(int index, CString str);

bool CallCMD(CString cmd, CString &outPut, CString& errInfo);

//执行CMD命令返回命令结果
BOOL GetCmdResult(const char * szDosCmd, CString &sRetVal);



//清理缓存
void ClearCach(int iIndex);

//取APK路径
CString GetApkPath(int iIndex);

//取dns
CString GetDns(int iIndex);


//取imei
CString GetIMEI(int iIndex);

//取imsi
CString GetIMSI(int iIndex);

//取IP
CString GetIP(int iIndex);

//取Mac
CString GetMac(int iIndex);

//取SIM序号
CString GetSIM(int iIndex);


//取安卓ID
CString GetAndriodID(int iIndex);

//取安卓版本
CString GetAndriodVersion(int iIndex);

//取进程ID
CString GetProcessID(int iIndex);

//取进程列表
CString GetProcessList(int iIndex);

//取手机厂商
CString GetPhoneFirm(int iIndex);

//取手机号码
CString GetPhoneNumber(int iIndex);

//取手机型号
CString GetPhoneModel(int iIndex);

//取网关
CString GetGateWay(int iIndex);

//删除文件
void LDDeleteFile(int iIndex, CString strFilePath);

//删除文件夹
void LDDeleteFolder(int iIndex, CString strFolderPath);

//置dns
void SetDns(int iIndex, CString strDns1, CString strDns2);

//置IMEI
void SetIMEI(int iIndex, CString strIMEI);

//置IMSI
void SetIMSI(int iIndex, CString strIMSI);

//置IP
void SetIP(int iIndex, CString strIP);

//置Mac
void SetMac(int iIndex, CString strMac);

//置SIM
void SetSIM(int iIndex, CString strSIM);

//置安卓ID
void SetAndroidID(int iIndex, CString strID);

//置手机厂商
void SetPhoneFirm(int iIndex, CString strFirm);

//置手机号码
void SetPhoneNumber(int iIndex, CString strPhoneNumber);

//置手机型号
void SetPhoneModel(int iIndex, CString strPhoneModel);

//置网关
void SetGateWay(int iIndex, CString strDns1, CString strDns2);

//终止进程
void StopProcess(int iIndex, CString strProcessID);
// 随机生成手机号码
CString GetRandomTel();

